/*
 * FileManager.h
 *
 * Handles saving MoveHistory into XML format and loading saved to
 * a reverse ordered MoveHistory
 */

#ifndef FILEMANAGER_H_
#define FILEMANAGER_H_
#include "MoveHistory.h"
#include <fstream>

class FileManager{
private:

public:
	FileManager();										//Constructor
	~FileManager();										//Deconstructor
	bool SaveGame(char *fileName,MoveHistory history);	//Saves history to given file in XML format
	MoveHistory* LoadGame(char *fileName);				//Converts file to a reversed ordered history
};

#endif /* FILEMANAGER_H_ */
